<%-- 
    Document   : itemInfo
    Created on : 26.5.2011, 21:26:38
    Author     : Lurtz
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:useBean id="itemsSnow" class="ModelJava.SnowboardManager" scope="session"/>



<c:forEach items="${itemsSnow.allSnowboards}" var="item" varStatus="status" begin="${cisloItem}" end="${cisloItem}">
    <div class="hlavni_text">
        <h2>Snowboard</h2>
        <div> 
            <h2>${item.zbozi.znacka} ${item.zbozi.nazev}</h2>
            <table>
                <tr>
                    <td><img src="Zbozi/Snowboard/${sessionScope['cisloObrItem']}.jpg"/></td>
                    <td>
                        Zbozi je skladem
                        <br/>
                        Kusu: ${item.zbozi.pocetKusu}
                        <br/>
                        Cena: ${item.zbozi.cena},- Kč
                        <br/>
                        Určeno pro: ${item.zbozi.urcenoPro}
                        <form action="ControllerKosik" method="get">
                            <label>Delka:</label>
                            <select name="delka">
                                <option value="156">156</option>
                                <option value="165">165</option>
                            </select>
                            <br/>
                            <input type="hidden" name="id" value="${item.ids}"/>
                            <input type="hidden" name="typ" value="Snowboard"/>
                            <input type="image" src="CSS Obrazky/itemKosik.png" />
                        </form>
                    </td>
                </tr>
            </table>

            <h4>Popis zbozi</h4>
            <p>
                ${item.zbozi.extra}
            </p>
        </div>
    </div>
</c:forEach>